/* pages/gallery-detail/gallery-detail.wxss */
.detail-wrapper {
  height: 100vh;
  width: 100vw;


  .main-container {
    position: relative;

    .gallery-detail {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .detail-name {
        font-size: 28rpx;
        margin-top: 20rpx;
        font-weight: 450;
        letter-spacing: 2rpx;
        margin-bottom: 20rpx;
      }

      .detail-image {
        height: 700rpx;
        width: 94vw;
        border-radius: 20rpx;

        .image-item {
          height: 100%;
          width: 100%;
          border-radius: 20rpx;
          background-color: #f0f0f0;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .image {
          height: 100%;
          width: 100%;
          border-radius: 20rpx;
        }
      }
    }

    .gallery-comment {
      width: 94vw;
      background-color: #f6f6f6;
      margin: 18rpx auto 0 auto;
      border-radius: 20rpx;
      padding-bottom: 20rpx;

      .operate-box {
        height: 100rpx;
        width: 100%;
        background-color: #f7f7f7;
        border-bottom: #f0f0f0 1rpx solid;
        border-radius: 24rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .operate {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          padding: 0 25rpx;

          .like {
            display: flex;
            align-items: center;

            image {
              width: 40rpx;
              height: 40rpx;
            }
          }

          .comment {
            display: flex;
            align-items: center;
            margin-left: 40rpx;
          }

          .collect {
            display: flex;
            align-items: center;
            margin-left: 40rpx;

            image {
              width: 45rpx;
              height: 45rpx;
            }
          }

          image {
            height: 50rpx;
            width: 50rpx;
            margin-right: 10rpx;
          }

          view {
            font-size: 28rpx;
          }
        }

        .share {
          display: flex;
          align-items: center;
          height: 40rpx;
          width: 40rpx;
          margin-right: 30rpx;
          position: relative;

          image {
            width: 100%;
            height: 100%;
          }

          .share-button {
            position: absolute;
            width: 40rpx;
            height: 40rpx;
            top: 0;
            left: 0;
            margin: 0;
            padding: 0;
            opacity: 0;
          }
        }
      }

      .comment-view {
        height: 340rpx;
        background-color: #f8f8f8;
        overflow: hidden;
        width: 100%;
        position: relative;

        .star-container {
          position: fixed;
          height: 360rpx;
          border-bottom-left-radius: 30rpx;
          border-bottom-right-radius: 30rpx;
          width: 94vw;
          background-color: #f1e5c6;
          z-index: 1;

          .evaluate-box {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 80rpx;

            .final-star {
              width: 100rpx;
              height: 42rpx;
              text-align: center;
              border-bottom: 1rpx solid #000;
            }
          }

          .star-box {
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 0 20rpx 10rpx 20rpx;
            border-bottom: 1rpx solid #000;

            .star-item {
              display: flex;
              flex-direction: column;
              align-items: center;
              font-size: 28rpx;

              .star-name {
                margin-top: 5rpx;
              }

              .star-icon {
                width: 145rpx;
                height: 150rpx;
                border-radius: 20rpx;
                background-color: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: 0.3s background-color ease-in-out;

                image {
                  width: 80%;
                  height: 80%;
                }
              }

              .choosen {
                background-color: lightpink;
              }
            }
          }

          .confirm-button {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 70rpx;
          }
        }

        .comment-item {
          height: auto;
          margin-bottom: 20rpx;

          .comment-box {
            padding: 0;
            margin: 0;
            width: 100%;
            display: flex;
            justify-content: flex-start;
            box-sizing: border-box;
            padding-top: 10rpx;
            font-weight: 400;
            padding-bottom: 10rpx;
            text-align: left;

            .avatar {
              height: 80rpx;
              width: 80rpx;
              border-radius: 50%;
              border: 1rpx solid red;
            }

            .user-detail {
              flex: 1;
              margin-left: 15rpx;

              .name-box {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-top: 10rpx;

                .name {
                  font-size: 28rpx;
                  color: #7f7f7f;
                  margin-bottom: 10rpx;
                }

                .like-box {
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  font-size: 26rpx;

                  .trash {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 26rpx;
                    width: 36rpx;
                    height: 36rpx;
                    margin-right: 20rpx;

                    image {
                      width: 100%;
                      height: 100%;
                    }
                  }

                  .like {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 26rpx;

                    image {
                      margin-right: 20rpx;
                      margin-left: 5rpx;
                      width: 36rpx;
                      height: 36rpx;
                    }
                  }
                }
              }

              .content-box {

                .content {
                  font-size: 30rpx;
                }
              }
            }
          }

          .more-box {
            margin-left: 100rpx;
            color: #737373;


            .more {
              display: flex;
              align-items: center;

              .text {
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 26rpx;
              }

              image {
                width: 24rpx;
                height: 24rpx;
              }
            }

            .list {

              .list-item {
                display: flex;
                justify-content: flex-start;
                padding: 10rpx 0;
                margin: 0;
                width: 100%;
                font-weight: 400;
                text-align: left;
                height: 90rpx;
                margin-bottom: 10rpx;

                .avatar {
                  height: 40rpx;
                  width: 40rpx;
                  border-radius: 50%;
                  border: 1rpx solid red;

                  image {
                    width: 100%;
                    border-radius: 50%;
                    height: 100%;
                  }
                }

                .content-box {
                  margin-left: 15rpx;
                  width: 100%;

                  .name-box {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;

                    .name {
                      font-size: 28rpx;
                      color: #7f7f7f;
                    }

                    .icon-box {
                      display: flex;
                      align-items: center;
                      justify-content: center;
                      font-size: 26rpx;

                      .trash {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 26rpx;
                        width: 36rpx;
                        height: 36rpx;
                        margin-right: 20rpx;

                        image {
                          width: 100%;
                          height: 100%;
                        }
                      }

                      .like {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 26rpx;

                        image {
                          margin-right: 20rpx;
                          margin-left: 5rpx;
                          width: 36rpx;
                          height: 36rpx;
                        }
                      }
                    }
                  }

                  .reply {
                    font-size: 28rpx;
                    color: #191919;

                    .member {
                      display: inline-block;

                      .prefix {
                        color: #191919;
                      }

                      .name {
                        color: #7d7d7d;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }

    .input-bar {
      display: fixed;
      bottom: 0;
      background-color: #f2e6c6;
      width: 100vw;
      height: 100rpx;
      display: flex;
      align-items: center;

      view {
        background-color: #4b9ae9;
        color: #ffffff;
        font-size: 24rpx;
        height: 48rpx;
        width: 80rpx;
        border-radius: 10rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 21rpx;
      }

      input {

        border-radius: 10rpx;
        border: 1rpx solid #acaba8;
        background-color: #ffffff;
        height: 68rpx;
        width: 80vw;
        margin: 0 auto;
        box-sizing: border-box;
        padding-left: 20rpx;
        font-size: 28rpx;
      }
    }

    .delete-wrapper {
      position: absolute;
      height: 100%;
      width: 100%;
      top: 0;
      left: 0;
      background-color: rgba(3, 3, 3, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;

      .delete-box {
        height: 300rpx;
        width: 660rpx;
        border-radius: 30rpx;
        background-color: #ffffff;
        padding: 50rpx;
        box-sizing: border-box;
        font-weight: 700;

        .text {
          margin-top: 30rpx;
        }

        .button-box {
          display: flex;
          align-items: center;
          height: 100rpx;
          justify-content: flex-end;
          margin-top: 50rpx;

          .confirm {
            margin-left: 50rpx;
            color: #63668b;
          }
        }
      }
    }
  }
}